package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author: wufeng
 * @date: 2018/9/7 10:58
 * @desrcption: 表单数据负责人/拥有者
 */
@Getter
@Setter
@ToString
public class FormDataOwnerDTO extends BaseDTO {

    private static final long serialVersionUID = 2416743787235971096L;

    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.formDataOwner.appId.NotNull}")
    private Long appId;


    @NotNull(message = "{dto.msg.formDataOwner.formDataId.NotNull}")
    private Long formDataId;

    /**
     * 负责人id
     */
    @NotBlank(message = "{dto.msg.formDataOwner.ownerId.NotBlank}")
    private String ownerId;
}
